<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Vue插件</title>
    <style>
        [v-cloak] {
            display: none;
        }
    </style>
</head>

<body>
    <div id="app" v-cloak>
        <sb-input></sb-input>
        <input type="text" v-model="name" v-focus @keydown.simbaenter="name=123">
    </div>
    <script src="https://cdn.bootcss.com/vue/2.6.6/vue.js"></script>
    <script src="https://unpkg.com/vue-router@3.0.2/dist/vue-router.js"></script>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <script src="js/vue-simba-plugin.js"></script>
    <script>
        Vue.use(vue_simba_plugin, {
            host: "http://49.20.20.30:8020/api"
        })
        var vm = new Vue({
            el: "#app",
            data: {
                name: "Simba"
            },
            mounted() {
                this.$log("Simba")
            },
        })
    </script>


</body>

</html>